<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head>
	<meta http-equiv="content-type" content="text/xml; charset=utf-8" /> 
    <title>Transport Information</title>
    <meta name="description" content="Green Travel Transport Information"  /> 
	<meta name="keywords" content="transport, green travel, rmit, project, e-business, semester 2012A, transport information, vietnam, vietnam travel"  /> 
	<link rel="stylesheet" type="text/css" href="formatstyles.css"/> 
	<link rel="stylesheet" type="text/css" href="divstyles.css"/> 
    <link rel="stylesheet" type="text/css" href="style/css/jquery-ui-1.8.18.custom.css" />
	
	<!-- include CSS always before including js -->

	<!-- include jQuery library -->
	<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
	<script type="text/javascript" src="js/jquery-1.7.2.js"></script>
	<script type="text/javascript" src="js/jquery.cycle.all.js"></script>
	<script type="text/javascript" src="js/scripts.js"></script>
	<script type="text/javascript" src="js/jquery-ui-1.8.18.custom.min.js"></script>
	<script type="text/javascript" src="js/login.js"></script>
	<script type="text/javascript" src="js/register.js"></script>
	<link rel="stylesheet" type="text/css" media="screen" href="style/css/demos.css"/>
	<style type="text/css" media="screen"> 
		@import "style/css/uni-form.css"; 
	</style>
	
	<!-- Demo page js -->
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/jquery.uni-form.js"></script>
	
	<!-- Star Rating widget stuff here... -->
	<script type="text/javascript" src="js/jquery.ui.stars.js"></script>
	<link rel="stylesheet" type="text/css" href="style/css/crystal-stars.css"/>
	<script type="text/javascript" src ="js/language-en.js"></script> 
	<script type="text/javascript" src ="js/nopcart.js" language="javascript"> 
	
      //============================================================== 
      //               NOP Design JavaScript Shopping Cart               
      //-------------------------------------------------------------- 
	  //       Visit NOP Design at http://www.nopdesign.com/freecart     
	  //============================================================== 
	</script>

</head>

<body>
<div id="fade" style="display:none;"></div>
	<!-- This is the page section -->
	<div id="page_section">

		<!-- This is the banner --> 
		<div> 
 			<?php include("banner.php"); ?>
		</div> 
		<!-- This is end of the banner --> 
    
    	<div id="user-cpanel">
			<?php include("user_cpanel.php"); ?>
        </div>
        
        <div class="wan-clear"></div>
        
        <div id="user-form">
       		<?php include("user-form.php"); ?>
		</div>
        
		<div id="topnav">
           <?php include("top-nav.php"); ?>
        </div>
		
		<div id="left-top">
            <div class="title-text">Search Tour</div>
            <?php include("search-form.php"); ?>	    
		</div>
		
		<div id="right-top">
			 <?php
            	if ($selection == "general") {
             	echo '
                    <div class="dynamic_drive">
                    	<a href="transport.php?reg=0">Transport</a>
    				</div>
                	
                    <div id="display_general">
                    	<p>Please select the transport you are looking for</p>
                        <table>
                            <tr>';
                                $i = 1;
                                while ($record = mysql_fetch_array($result)) {
                                    echo '<td><a href="transport.php?reg='.$i.'">'.$record['name'].'</a></td>';
                                    $i = $i + 1;
                                } echo '
                            </tr>
                        </table>
                    </div>';
                } else {
                    while($record = mysql_fetch_array($result))
                    {
                        echo '
                        <div class="dynamic_drive">
                            <a href="transport.php?reg=0">Transport</a> >>
                            <a href="transport.php?reg='.$transportID.'">'.$record['name'].'</a>
						</div>
                        
                        <div id="transport">
                            <img src="'.$record['image'].'" alt="Image cannot be load" align="left" />
                            <div id="transport_name">'.$record['name'].'</div>';
                            echo $record['description'].'<br /><br />';
                            echo '<b>Price: </b>'.number_format($record['price']).' VND
                        </div>';
                    }
				}				  
            ?>
		</div>
		<div class="wan-clear"></div> 
<!-- This is end of the content -->
	</div> 
<!-- This is end of the page section -->
<br />
<!-- This is the footer -->
		<div id="footer"> 
			<p class="footer">This website is a student project that is intended to be used only for academic purposes. This page was created by Duy, Le Quang </p>
		</div> 
<!-- This is end of the footer -->
</body>

</html>